package com.ruoyi.cderp.domain;

import java.math.BigDecimal;
import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品库存变动记录对象 tbl_product_stock_log
 *
 * @author ruoyi
 * @date 2025-03-04
 */
public class TblProductStockLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 仓库ID */
    private String scId;

    // 仓库名称
    private String scName;

    // 仓库编号
    private String scCode;

    /** 商品ID */
    private String productId;

    // 商品名称
    private String productName;

    // 商品编号
    private String productCode;

    // 商品类目
    private String bcName;

    // 商品品牌
    private String bbName;

    /** 原含税成本价 */
    @Excel(name = "原含税成本价")
    private BigDecimal oriTaxPrice;

    /** 现含税成本价 */
    @Excel(name = "现含税成本价")
    private BigDecimal curTaxPrice;

    /** 原库存数量 */
    @Excel(name = "原库存数量")
    private Long oriStockNum;

    /** 现库存数量 */
    @Excel(name = "现库存数量")
    private Long curStockNum;

    /** 库存数量 */
    @Excel(name = "库存数量")
    private Long stockNum;

    /** 含税金额 */
    @Excel(name = "含税金额")
    private BigDecimal taxAmount;

    /** 创建人ID */
    private String createById;

    private Date createTime;

    private Date createMinTime;

    private Date createMaxTime;

    /** 业务单据IdD */
    private String bizId;

    /** 业务单据号 */
    @Excel(name = "业务单据号")
    private String bizCode;

    /** 业务单据明细ID */
    private String bizDetailId;

    /** 业务类型 */
    @Excel(name = "业务类型")
    private Integer bizType;

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getCreateMinTime() {
        return createMinTime;
    }

    public void setCreateMinTime(Date createMinTime) {
        this.createMinTime = createMinTime;
    }

    public Date getCreateMaxTime() {
        return createMaxTime;
    }

    public void setCreateMaxTime(Date createMaxTime) {
        this.createMaxTime = createMaxTime;
    }

    public String getScName() {
        return scName;
    }

    public void setScName(String scName) {
        this.scName = scName;
    }

    public String getScCode() {
        return scCode;
    }

    public void setScCode(String scCode) {
        this.scCode = scCode;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getBcName() {
        return bcName;
    }

    public void setBcName(String bcName) {
        this.bcName = bcName;
    }

    public String getBbName() {
        return bbName;
    }

    public void setBbName(String bbName) {
        this.bbName = bbName;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setScId(String scId)
    {
        this.scId = scId;
    }

    public String getScId()
    {
        return scId;
    }
    public void setProductId(String productId)
    {
        this.productId = productId;
    }

    public String getProductId()
    {
        return productId;
    }
    public void setOriTaxPrice(BigDecimal oriTaxPrice)
    {
        this.oriTaxPrice = oriTaxPrice;
    }

    public BigDecimal getOriTaxPrice()
    {
        return oriTaxPrice;
    }
    public void setCurTaxPrice(BigDecimal curTaxPrice)
    {
        this.curTaxPrice = curTaxPrice;
    }

    public BigDecimal getCurTaxPrice()
    {
        return curTaxPrice;
    }
    public void setOriStockNum(Long oriStockNum)
    {
        this.oriStockNum = oriStockNum;
    }

    public Long getOriStockNum()
    {
        return oriStockNum;
    }
    public void setCurStockNum(Long curStockNum)
    {
        this.curStockNum = curStockNum;
    }

    public Long getCurStockNum()
    {
        return curStockNum;
    }
    public void setStockNum(Long stockNum)
    {
        this.stockNum = stockNum;
    }

    public Long getStockNum()
    {
        return stockNum;
    }
    public void setTaxAmount(BigDecimal taxAmount)
    {
        this.taxAmount = taxAmount;
    }

    public BigDecimal getTaxAmount()
    {
        return taxAmount;
    }
    public void setCreateById(String createById)
    {
        this.createById = createById;
    }

    public String getCreateById()
    {
        return createById;
    }
    public void setBizId(String bizId)
    {
        this.bizId = bizId;
    }

    public String getBizId()
    {
        return bizId;
    }
    public void setBizCode(String bizCode)
    {
        this.bizCode = bizCode;
    }

    public String getBizCode()
    {
        return bizCode;
    }
    public void setBizDetailId(String bizDetailId)
    {
        this.bizDetailId = bizDetailId;
    }

    public String getBizDetailId()
    {
        return bizDetailId;
    }
    public void setBizType(Integer bizType)
    {
        this.bizType = bizType;
    }

    public Integer getBizType()
    {
        return bizType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("scId", getScId())
                .append("scCode", getScCode())
                .append("scName", getScName())
            .append("productId", getProductId())
                .append("productCode", getProductCode())
                .append("productName", getProductName())
                .append("bcName", getBcName())
                .append("bbName", getBbName())
            .append("oriTaxPrice", getOriTaxPrice())
            .append("curTaxPrice", getCurTaxPrice())
            .append("oriStockNum", getOriStockNum())
            .append("curStockNum", getCurStockNum())
            .append("stockNum", getStockNum())
            .append("taxAmount", getTaxAmount())
            .append("createBy", getCreateBy())
            .append("createById", getCreateById())
            .append("createTime", getCreateTime())
                .append("createMinTime",getCreateMinTime())
                .append("createMaxTime",getCreateMaxTime())
            .append("bizId", getBizId())
            .append("bizCode", getBizCode())
            .append("bizDetailId", getBizDetailId())
            .append("bizType", getBizType())
            .toString();
    }
}
